# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

bl_info = {
    "name" : "drawer",
    "author" : "tom",
    "description" : "",
    "blender" : (2, 80, 0),
    "version" : (0, 0, 1),
    "location" : "View3D",
    "warning" : "",
    "category" : "Object"
}

import bpy

from . panel import Draw_Panel_Op
from . cube import Draw_BCube_Op
from . sphere import Draw_BSphere_Op
from . cylinder import Draw_Cylinder_Op
from . pipe import Draw_Pipe_Op
from . hexagon import Draw_Hexagon_Op
from . bisection import Draw_Bisection_Op
from . triangle import Draw_Triangle_Op
from . face import Draw_Face_Op
from . wall import Draw_Wall_Op
from . importobj import Import_Obj_Op
from . pipeFromGeojson import Auto_Draw_Pipe
from . pnl import TOM_PT_Tool

classes = (Draw_Panel_Op,
           Import_Obj_Op,
           Draw_Wall_Op,
           Draw_Face_Op,
           Draw_BCube_Op,
           Draw_Triangle_Op,
           Draw_BSphere_Op,
           Draw_Cylinder_Op,
           Draw_Hexagon_Op,
           Draw_Pipe_Op,
           Draw_Bisection_Op,
           Auto_Draw_Pipe,
           TOM_PT_Tool)

def register():
    for c in classes:
        bpy.utils.register_class(c)

def unregister():
    for c in classes:
        bpy.utils.unregister_class(c)
